#pragma once

#include "httplib.h"

#include <string>

class HttpClientBuilder
{
public:
    HttpClientBuilder(const std::string &host, uint16_t port);
    ~HttpClientBuilder();

public:
    void set_keep_alive(bool keepAlive)
    {
        m_keepAlive = keepAlive;
    }

public:
    httplib::Client *build();

private:
    std::string m_hostport;
    bool        m_keepAlive = false;
};